﻿using System;
namespace Golf.Model
{
	/// <summary>
	/// Golf_Product:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Golf_Product
	{
		public Golf_Product()
		{}
		#region Model
		private int _id;
		private int _pro_typeid;
		private int? _pro_brandtypeid;
		private string _pro_name;
		private string _pro_number;
		private int _pro_buynum=0;
		private string _pro_picture;
		private string _pro_picsmall;
		private string _pro_picbig;
		private string _pro_seotitle;
		private string _pro_wood;
		private int? _pro_save=0;
		private decimal _pro_marketprice;
		private decimal _pro_price;
		private bool _ispromotion= false;
		private decimal? _pro_promotionprice;
		private DateTime? _promotionstarttime;
		private DateTime? _promotionendtime;
		private string _pro_usage;
		private string _pro_introduction;
		private bool _isshow= true;
		private bool _iscommend= false;
		private DateTime _pro_addtime= DateTime.Now;
		private int? _limitbuynum;
		private int? _inventorynum;
		private bool _isstock;
		private int? _pro_commentnum;
		private int _adminid;
		private bool _isgrounding= true;
		private int? _pro_star=100;
		/// <summary>
		/// id
		/// </summary>
		public int Id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 产品分类id	Golf_ProductType
		/// </summary>
		public int Pro_TypeId
		{
			set{ _pro_typeid=value;}
			get{return _pro_typeid;}
		}
		/// <summary>
		/// 产品品牌分类id	Golf_BrandType表
		/// </summary>
		public int? Pro_BrandTypeId
		{
			set{ _pro_brandtypeid=value;}
			get{return _pro_brandtypeid;}
		}
		/// <summary>
		/// 产品名称
		/// </summary>
		public string Pro_Name
		{
			set{ _pro_name=value;}
			get{return _pro_name;}
		}
		/// <summary>
		/// 商品编号
		/// </summary>
		public string Pro_Number
		{
			set{ _pro_number=value;}
			get{return _pro_number;}
		}
		/// <summary>
		/// 购买数量
		/// </summary>
		public int Pro_BuyNum
		{
			set{ _pro_buynum=value;}
			get{return _pro_buynum;}
		}
		/// <summary>
		/// 产品默认图 160-160
		/// </summary>
		public string Pro_Picture
		{
			set{ _pro_picture=value;}
			get{return _pro_picture;}
		}
		/// <summary>
		/// 300-300
		/// </summary>
		public string Pro_PicSmall
		{
			set{ _pro_picsmall=value;}
			get{return _pro_picsmall;}
		}
		/// <summary>
		/// 800-800
		/// </summary>
		public string Pro_PicBig
		{
			set{ _pro_picbig=value;}
			get{return _pro_picbig;}
		}
		/// <summary>
		/// seo标题
		/// </summary>
		public string Pro_SeoTitle
		{
			set{ _pro_seotitle=value;}
			get{return _pro_seotitle;}
		}
		/// <summary>
		/// 产品号数
		/// </summary>
		public string Pro_Wood
		{
			set{ _pro_wood=value;}
			get{return _pro_wood;}
		}
		/// <summary>
		/// 节约钱
		/// </summary>
		public int? Pro_Save
		{
			set{ _pro_save=value;}
			get{return _pro_save;}
		}
		/// <summary>
		/// 市场价
		/// </summary>
		public decimal Pro_MarketPrice
		{
			set{ _pro_marketprice=value;}
			get{return _pro_marketprice;}
		}
		/// <summary>
		/// 会员价
		/// </summary>
		public decimal Pro_Price
		{
			set{ _pro_price=value;}
			get{return _pro_price;}
		}
		/// <summary>
		/// 是否促销 0未 1促销
		/// </summary>
		public bool IsPromotion
		{
			set{ _ispromotion=value;}
			get{return _ispromotion;}
		}
		/// <summary>
		/// 促销价
		/// </summary>
		public decimal? Pro_PromotionPrice
		{
			set{ _pro_promotionprice=value;}
			get{return _pro_promotionprice;}
		}
		/// <summary>
		/// 促销开始时间
		/// </summary>
		public DateTime? PromotionStartTime
		{
			set{ _promotionstarttime=value;}
			get{return _promotionstarttime;}
		}
		/// <summary>
		/// 促销结束时间
		/// </summary>
		public DateTime? PromotionEndTime
		{
			set{ _promotionendtime=value;}
			get{return _promotionendtime;}
		}
		/// <summary>
		/// 产品使用方法
		/// </summary>
		public string Pro_Usage
		{
			set{ _pro_usage=value;}
			get{return _pro_usage;}
		}
		/// <summary>
		/// 产品介绍
		/// </summary>
		public string Pro_Introduction
		{
			set{ _pro_introduction=value;}
			get{return _pro_introduction;}
		}
		/// <summary>
		/// 是否显示 1显示0否
		/// </summary>
		public bool IsShow
		{
			set{ _isshow=value;}
			get{return _isshow;}
		}
		/// <summary>
		/// 是否推荐 0否1 是
		/// </summary>
		public bool isCommend
		{
			set{ _iscommend=value;}
			get{return _iscommend;}
		}
		/// <summary>
		/// 产品添加时间
		/// </summary>
		public DateTime Pro_AddTime
		{
			set{ _pro_addtime=value;}
			get{return _pro_addtime;}
		}
		/// <summary>
		/// 限制购买时间
		/// </summary>
		public int? LimitBuyNum
		{
			set{ _limitbuynum=value;}
			get{return _limitbuynum;}
		}
		/// <summary>
		/// 库存时间 
		/// </summary>
		public int? InventoryNum
		{
			set{ _inventorynum=value;}
			get{return _inventorynum;}
		}
		/// <summary>
		/// 是否有货 1有0没有
		/// </summary>
		public bool IsStock
		{
			set{ _isstock=value;}
			get{return _isstock;}
		}
		/// <summary>
		/// 产品评论数
		/// </summary>
		public int? Pro_CommentNum
		{
			set{ _pro_commentnum=value;}
			get{return _pro_commentnum;}
		}
		/// <summary>
		/// 添加产品管理人id	Golf_Admin表
		/// </summary>
		public int AdminId
		{
			set{ _adminid=value;}
			get{return _adminid;}
		}
		/// <summary>
		/// 上架 0下架 1上架
		/// </summary>
		public bool IsGrounding
		{
			set{ _isgrounding=value;}
			get{return _isgrounding;}
		}
		/// <summary>
		/// 给定的评论星
		/// </summary>
		public int? Pro_Star
		{
			set{ _pro_star=value;}
			get{return _pro_star;}
		}
		#endregion Model

	}
}

